<?php
$ssFilter = $this->arrParam['ssFilter'];
		$lang = $ssFilter['lang'];
		if($lang == ''){
			$lang = 'vi';
		}else{
			$lang = $ssFilter['lang'];
		}
		
echo $this->blkBreadcumb(array(
			'Trang chủ'=> array(
					'module'	=>'default',
					'controller'=>'index',
					'action'	=>'index',
					'router'	=> 'home',
					'params'	=> array(
									'lang'=>$lang
								)
				),
			'Khuyến Mãi'=> array(
					'module'	=>'news',
					'controller'=>'index',
					'action'	=>'promotion',
					'router'	=>'news_promotion',
					'params'	=> array(
									'lang'=>$lang
								)
				)
		));
?>
<div class="clear"></div>
<div class="detail">
<?php
 $lang = $this->arrParam['lang'];
	if(empty($lang)){
		$lang = 'vi';
	}else{
		$lang = $this->arrParam['lang'];
	} 
if(!empty($this->Item)){
		$Item = $this->Item;
		$cutTring 	= new Zendvn_File_CutTring();
		$title 		= $Item['name'];
		$title 		= str_replace("\\"," ",$title);
		$alt		= $Item['name'];
		if(!empty($Item['alt_seo'])) $alt = $Item['alt_seo'];
		$alt 		= str_replace("\\"," ",$alt);
							
		$summary 	= $Item['summary'];
        $summary 	= str_replace("\\"," ",$summary);
		$summary 	= $cutTring->cutTring(100,$summary,null);
		
		$realLink	= FILES_PATH.'/news/images450x450/' . $Item['picture'];
		if(file_exists($realLink)){
		    $linkImg	= FILES_URL . '/news/images450x450/' . $Item['picture'];
		    $picture 	= '<img title="'. $title .'" src="'. $linkImg .'" width="110" alt="'.$alt.'" />';
		}else{
			
		    $linkImg	= $this->imgUrl . '/no-image.jpg';
		    $picture 	= '<img title="'. $title .'" src="'. $linkImg .'" width="110" alt="'.$alt.'" />';
		}
		$content 	= $Item['content'];
		$content 	= str_replace("\\"," ",$content);
		
?>
                         <div class="box width-100">
                             <div class="cnt-box">
                                   <!--------- Noi dung--------->
                                    <div class="box-cnt width-100">
                                        <!--------- Tieu de bai viet--------->
                                        <div class="title width-100">
                                            <h2><a href="#" title="<?php echo $title?>"><?php echo $title?> </a></h2>
                                        </div>
                                        <!--------- Tieu de bai viet(end)--------->

                                        <!--------- Hinh anh - Tom tat--------->
                                        <div class="bor-img width-30 float-left">
                                            <a href="#"><?php echo $picture?></a>
                                        </div>
                                        <div class="desc summary width-65 float-right">
                                            <p><?php echo $summary?></p>
                                        </div>
                                        <!--------- Hinh anh - Tom tat(end)--------->
                                        <div class="clear"></div>
                                        <div class="line-white"></div>
                                        <!--------- noi dung bai viet--------->
                                        <div class="desc width-100 mar-top-20">
                                            <?php echo $content;?>
                                        </div>
                                        <!--------- noi dung bai viet(end)--------->
                                        <div class="line-white"></div>
                                        <?php echo $this->blkOlderNewer($this->Item['id'],152)?>
                                  </div>
                                   <!---------Noi dung(end)-------->
                             </div>
                         </div>
 <?php } // end if?>
                    </div>